package com.matrix.java.chap_09.exercise;

public class EX9_22 {
    private double radius = 1;

    public double getArea() {
        return radius * radius * Math.PI;
    }

    public static void main(String[] args) {
        EX9_22 myCircle = new EX9_22();
        System.out.println("Radius is " + myCircle.radius);
    }
}
